package com.jfs.envent.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

import javax.sip.RequestEvent;

/**
 * @Description 事件传递对象
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/1
 */
@Setter
@Getter
public class BaseEventEntity extends ApplicationEvent {
    /**
     * xml转换时忽略
     */
    private RequestEvent requestEvent;
    /**
     * ip
     */

    private String ip;
    /**
     * 端口
     */
    private int port;
    /**
     * 设备Id
     */
    private String deviceID;

    /**
     * 通信协议
     */
    private String transport;


    public BaseEventEntity(Object source) {
        super(source);
    }
}
